TEMPLATE = app
include(../config.pri)
TARGET = fcgi_server
DIETSYSTEM_BASE = ../
DESTDIR = $$DIETSYSTEM_BASE/bin

DEPENDPATH += . inc src
INCLUDEPATH += . inc
HEADERS += ApplyUserJsonQuery.h \
           ApplyWeightJsonQuery.h \
           IJsonQuery.h \
           JsonQueryFactory.h \
           LoginJsonQuery.h \
           query.h \
           RequestWeightJsonQuery.h \
           server.h \
           stream.h \
           UnknownJsonQuery.h

SOURCES += ApplyUserJsonQuery.cpp \
           ApplyWeightJsonQuery.cpp \
           main.cpp \
           JsonQueryFactory.cpp \
           LoginJsonQuery.cpp \
           query.cpp \
           RequestWeightJsonQuery.cpp \
           server.cpp \
           stream.cpp \
           UnknownJsonQuery.cpp

# DbSession
INCLUDEPATH += $$DIETSYSTEM_BASE/dbsession/inc
LIBS += -L$$DIETSYSTEM_BASE/bin
LIBS += -ldbsession

LIBS += -lqjson -lfcgi

# Should be deleted ASAP!!! TODO
QT += sql
